import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer'
import testApiMock from '../mock/testApiMock.js'
import userApiMock from '../mock/userApiMock.js'
import xzqhApiMock from '../mock/xzqhApiMock.js'

const mockModules = [...testApiMock, ...userApiMock, ...xzqhApiMock]

export function setupProdMockServer() {
  createProdMockServer(mockModules)
}
